<div id="featuredProducts" >
<?php 
// MODEL: featured_products
foreach($featured_products as $featuredProd) {
	echo '<a href="/smaragd/products/info/'.$featuredProd->id.'">';
	echo '<div class="featuredProducts-item">';
	echo 	'<div class="featuredProducts-header">';		
	echo 		'Kiemelt ajánlat';
	echo 	'</div>';
	echo 	'<div class="featuredProducts-imageholder" style="background-image: url(/smaragd/resources/products/'.$featuredProd->image.');">';
	//echo    	'<img class="featuredProducts-image" src="/smaragd/resources/products/' . $featuredProd->image . '"></img>';
	echo    '</div>';
	echo    '<h1>' . $featuredProd->name . '</h1>';
	echo 	'<p class="featuredProducts-price">' . $featuredProd->price . ' Ft </p>';
	echo '</div>';
	echo '</a>';
}
?>
</div>